package com.element.quest;

import tools.XMLParser;
import world.World;

import com.element.Element;
import com.element.event.EventList;
import com.element.item.ItemList;

public class Quest extends Element {
	
	public String name;
	public ItemList rewards;
	public String state; //completed, active, new
	public boolean selectable; //if player can choose to accept quest
	public String desc;
	public EventList events;
	private static String xmlPath = "res/raw/quest.xml";
	
	public Quest(String id, World world){
		XMLParser parser = new XMLParser();
		parser.setFields(id, this, xmlPath, world);
	}
	

}
